Add author and release date to plugin meta description#3
Open
phyceClaw wants to merge 2 commits into
Open
Conversation
Plugin detail pages now lead their SEO/search-result description with
"by {author}, released : {date}" followed by the plugin description,
truncated to fit the meta length.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Google was synthesising the search result snippet from the visible stats grid (Author / Last Update / All-time High / Released On / Active Installs) instead of the meta description. Marking the stats grid and tags with data-nosnippet stops Google using that text, so it falls back to the author/released/description meta description. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author
|
Follow-up: the meta-description change alone wasn't enough. Google was ignoring the meta description and building its own snippet from the visible stats grid ( Added a second commit marking the stats grid and tags line with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Amends the search-result metadata (SEO meta description) for individual plugin pages.
Previously the meta description for
/plugin/{name}was just the plugin description truncated to 155 chars. It now leads with the author and release date:The whole string is truncated to 160 chars, so the description is what gets trimmed if it overflows.
Details
PluginController@show, feedingSEOTools, OpenGraph, and Twitter card description.by {author}andreleased : {date}parts are only included when present; falls back gracefully to the existing "Install stats and history…" copy when the plugin has no description.F j, Y(e.g. January 5, 2024) to match the on-page "Released On" formatting.🤖 Generated with Claude Code